import {VsNotification} from "vuesax-alpha";

export type PositionType = "top-right" | "bottom-right" | "bottom-left" | "top-left" | "top-center" | "bottom-center"
export type NotifyColor = "primary" | "success" | "danger" | "warn" | "dark" | "text" | "light" | "secondary" | "facebook" | "twitter" | "youtube" | "pinterest" | "linkedin" | "snapchat" | "whatsapp" | "tumblr" | "reddit" | "spotify" | "amazon" | "medium" | "vimeo" | "skype" | "dribbble" | "slack" | "yahoo" | "twitch" | "discord" | "telegram" | "google-plus" | "messenger"
export default (position:PositionType,content:string,title?:string)=> {
    VsNotification({
        position,
        title: title|| undefined,
        content,
    })
}